<!DOCTYPE>
<html>
{include file="head.html"}
<body> 
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
    <div class="t_left"><a href="/index.php?m=user"><i class="back"></i></a></div>
      <div class="t_main">系统消息</div>
    </div>
    <div class="paddingheight"></div>
 
<div >
<div class="tabs-border">
<a href="/index.php?m=notice" class="item {if $smarty.get.m eq 'notice'}active{/if}">系统通知</a>
<a href="/index.php?m=sysmsg" class="item {if $smarty.get.m eq 'sysmsg'}active{/if}">系统消息</a>
</div>

{if $data}
<table class="table table-bordered">
{foreach item=t from=$data}
<tr>
<td class="span6"><a href="index.php?m=sysmsg&a=show&id={$t.id}">{$t.title}</a></td>
<td class="span2">{$t.dateline|date:Y-m-d H@i}</td>
<td class="span2">{if $t.status}已读{else}未读{/if}</td>
<td class="span2">

<a href="javascript:;" url="index.php?m=sysmsg&a=delete&id={$t.id}" class="delete btn btn-warning">删除</a>
 
</td>
</tr>
{/foreach}
</table>
{$pagelist}
{else}
<p>暂无消息</p>
{/if}
</div>

</div>
</div>
{include file="footer.html"}
</div>
</body>
</html>